package com.geek.water.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.geek.water.entity.Invoice;
import com.geek.water.mapper.InvoiceMapper;
import com.geek.water.service.InvoiceService;
import org.springframework.stereotype.Service;

import java.time.LocalDate;
import java.util.List;

/**
 * @author yangwenqi
 * @decs TODO
 * @date 2025/8/3
 */
@Service
public class InvoiceServiceImpl extends ServiceImpl<InvoiceMapper, Invoice> implements InvoiceService {



    @Override
    public Invoice findByBillCode(String billCode) {
        return lambdaQuery()
                .eq(Invoice::getBillCode, billCode)
                .one();
    }


}
